fix: use mistral-vibe-cli-latest as default model for Mistral AI#1188
fix: use mistral-vibe-cli-latest as default model for Mistral AI#1188currentsuspect wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Switches the Mistral AI gateway's default model from devstral-latest to mistral-vibe-cli-latest (which has higher rate limits per the linked issue) and adds the new model to the static catalog while keeping devstral-latest available.
Changes:
- Update
defaultModelin the Mistral gateway descriptor tomistral-vibe-cli-latest. - Add a
mistral-vibe-clicatalog entry pointing atmistral-vibe-cli-latestwith a matchingmodelDescriptorId.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| catalog: { | ||
| source: 'static', | ||
| models: [ | ||
| { id: 'mistral-vibe-cli', apiName: 'mistral-vibe-cli-latest', label: 'Vibe CLI Latest', modelDescriptorId: 'mistral-vibe-cli-latest' }, |
BlockersNone. Non-BlockingNone. Looks Good
Verdict: Approve — clean default model update. |
Vasanthdev2004
left a comment
There was a problem hiding this comment.
Clean default model update.
gnanam1990
left a comment
There was a problem hiding this comment.
Approving — thanks, this is clean and well-scoped. 🎉
Resolves #1181, and the descriptor/brand/catalog entries are now consistent so the integrations registry validation passes. The Copilot-flagged missing-descriptor issue was addressed in your follow-up commit. Good detail: defaultModel only affects newly-created Mistral profiles, so existing users keep their stored model, and devstral-latest stays available in the catalog as an alternative. Nicely done.
jatmn
left a comment
There was a problem hiding this comment.
Findings
- [P1] Update the Mistral profile defaults used by
/provider
src/utils/providerProfile.ts:47
The descriptor default now points atmistral-vibe-cli-latest, but the interactive Mistral setup path still usesDEFAULT_MISTRAL_MODEL, which remainsdevstral-latest.ProviderWizardpasses that value into the Mistral model prompt, and leaving the prompt blank savesstep.defaultModel, so the exact workflow from #1181 still creates a Mistral profile ondevstral-latest. Please update the runtime/profile default path as well, and cover it with the existing provider/profile tests so the descriptor and setup defaults cannot drift again.
|
Thanks for chasing this down, and apologies for the earlier approval from my side — it predated the issue below and is superseded by @jatmn's review, which is correct. Re-checking against the code: the PR updates only the gateway descriptor's Updating |
6369de1
Change the default model from devstral-latest to mistral-vibe-cli-latest which has better rate limits and is more current. Keep devstral-latest in the catalog as an available alternative. Closes Gitlawb#1181 Co-Authored-By: OpenClaude (mimo-v2.5-pro) <[email protected]>
The catalog entry referenced a modelDescriptorId that had no matching descriptor in src/integrations/models/mistral.ts, causing integration test failures (gateway modelDescriptorId references have model metadata, registry is valid after loading all descriptors). Co-Authored-By: OpenClaude (mimo-v2.5-pro) <[email protected]>
The /provider interactive setup still defaulted to devstral-latest via DEFAULT_MISTRAL_MODEL, even though the gateway descriptor points at mistral-vibe-cli-latest. Update the constant and add a test that asserts DEFAULT_MISTRAL_MODEL matches the gateway defaultModel to prevent future drift. Co-Authored-By: OpenClaude (mimo-v2.5-pro) <[email protected]>
6369de1 to
7a614a1
Compare
Summary
Changes the default model for the Mistral AI gateway from
devstral-latesttomistral-vibe-cli-latest. The vibe model has better rate limits and is more current.devstral-latestis kept in the catalog as an available alternative.Changes
mistral.ts: UpdateddefaultModelfrom'devstral-latest'to'mistral-vibe-cli-latest'mistral.ts: Addedmistral-vibe-cli-latestto the static model catalogVerification
mistral-vibe-cli-latestagainsthttps://api.mistral.ai/v1/chat/completions— responds correctlybun test src/services/api/openaiShim.test.ts— 95 passbun run build— cleanCloses #1181
🤖 Generated with OpenClaude